import 'package:json_annotation/json_annotation.dart';

@JsonSerializable()
class SignUpOrderBean {
  String schname;
  String username;
  String idcard;
  String phone;
  String tolalprice;
  String price;
  String id;
  String classname;
  Null orderStatus;
  String createtime;

  SignUpOrderBean(
      {this.schname,
        this.username,
        this.idcard,
        this.phone,
        this.tolalprice,
        this.price,
        this.id,
        this.classname,
        this.orderStatus,
        this.createtime});

  SignUpOrderBean.fromJson(Map<String, dynamic> json) {
    schname = json['schname'];
    username = json['username'];
    idcard = json['idcard'];
    phone = json['phone'];
    tolalprice = json['tolalprice'];
    price = json['price'];
    id = json['id'];
    classname = json['classname'];
    orderStatus = json['orderStatus'];
    createtime = json['createtime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['schname'] = this.schname;
    data['username'] = this.username;
    data['idcard'] = this.idcard;
    data['phone'] = this.phone;
    data['tolalprice'] = this.tolalprice;
    data['price'] = this.price;
    data['id'] = this.id;
    data['classname'] = this.classname;
    data['orderStatus'] = this.orderStatus;
    data['createtime'] = this.createtime;
    return data;
  }
}